package com.nativetalk.service.live.search;

import com.nativetalk.base.Page;
import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.live.TdNtLiveCourseHisDetails;
import com.nativetalk.bean.live.TdNtLiveCourseHisList;
import com.nativetalk.bean.live.TdNtLiveHisMemberHead;
import com.nativetalk.bean.member.TdNtMember;

import java.util.List;

/**
 * Created by lizhun on 16/5/14.
 */
public interface LiveSearchService {
    /**
     * @Purpose  查找教师已审核或未审核的直播课程
     * @version  2.0
     * @author   lizhun
     * @param    tea_id
     * @param    page
     * @return   RetInfo
     */
    public RetInfo findLiveByState(int tea_id, Page page);
    /**
     * @Purpose  查找直播课程图片
     * @version  2.0
     * @author   lizhun
     * @param    live_cou_id
     * @return   RetInfo
     */
    public RetInfo findLivePictures(int live_cou_id);
    /**
     * @Purpose  查找待直播直播列表
     * @version  2.0
     * @author   lizhun
     * @param    page
     * @return   RetInfo
     */
    public RetInfo findLives( Page page);
    /**
     * @Purpose  查找直播详情
     * @version  2.0
     * @author   lizhun
     * @param    live_cou_his_id
     * @return   RetInfo
     */
    public RetInfo findLiveDetail(int live_cou_his_id, TdNtMember tdNtMember);
    /**
     * @Purpose  查找老师待直播课程
     * @version  2.0
     * @author   lizhun
     * @param    page
     * @return   RetInfo
     */
    public RetInfo findLiveHisByTeaId( Page page);
    /**
     * @Purpose  查找用户待直播直播列表
     * @version  2.0
     * @author   lizhun
     * @param    page
     * @return   RetInfo
     */
    public RetInfo findMemberLives( Page page);
    /**
     * @Purpose  首页查找直播
     * @version  2.1
     * @author   lizhun
     * @param
     * @return   List<TdNtLiveCourseHisList>
     */
    public List<TdNtLiveCourseHisList> findTdNtLiveCourseHisByMembIdListIndex();
    /**
     * @Purpose  查找直播详情
     * @version  2.0
     * @author   lizhun
     * @param    live_cou_his_id
     * @return   RetInfo
     */
    public TdNtLiveCourseHisDetails findTdNtLiveCourseHisDetails(int live_cou_his_id);
    /**
     * @Purpose  查找直播购买人头像
     * @version  2.0
     * @author   lizhun
     * @param    live_cou_his_id
     * @return   RetInfo
     */
    public  List<TdNtLiveHisMemberHead> findTdNtLiveHisMemberHead(int live_cou_his_id);

}
